<?php
/**
 * 后台主页
 */
namespace Admin\Controller;
use Admin\Controller\AdminController;
class IndexController extends AdminController {
	
    public function index(){
    	$this->assign('title','管理中心');
    	$this->display();
    }
    public function logout(){ 
        session(null);  
    	session('username',null);
    	session('userid',null);
    	redirect(__MODULE__.'/Login/');
    }
}